package com.springboot.file.param.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.util.Map;

@Data
@Schema(description =  "导出Excel请求参数")
public class ExportExcelReq {
    @Schema(description = "业务类型")
    private String businessType;

    @Schema(description = "导出条件(需要导出符合条件的数据，对应页面的查询条件)")
    private Map<String, Object> exportParams;

    @Schema(description = "动态表头，key为字段名,value为表头名称")
    private Map<String, String> headers;
    
    @Schema(description = "自定义文件名(不含扩展名)，不传则使用默认命名规则")
    private String fileName;
    
    @Schema(description = "分块ID，用于标识同一次导出的所有块")
    private String chunkId;
    
    @Schema(description = "块索引，从0开始")
    private Integer chunkIndex;
}
